home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
User's Choice Windows CD
/
User's Choice Windows CD (CMS Software)(1993).iso
/
utility3
/
what.zip
/
HELPEX._
/
HELPEX.bin
Wrap
Text File
|
1992-08-06
|
2KB
|
90 lines
##### Module Macros ####
NAME = helpex
SRCS = $(NAME).c
OBJS =
##### C7 Macro #####
C7 = 1
##### Library Macros #####
LIBS = libw slibcew
MOD = -AS
##### Include Macro #####
INCLS =
##### Resource Macro #####
RCFILES = $(NAME).rc $(NAME).dlg
##### DEBUG Macro Defined #####
DEBUG = 1
##### Build Option Macros #####
!if $(DEBUG)
DDEF = -DDEBUG
CLOPT = -Zid -Od
MOPT = -Zi
LOPT = /CO /LI /MAP
!else
DDEF =
CLOPT = -Os
LOPT =
!endif
##### General Macros #####
DEF =
##### Tool Macros #####
ASM = masm -Mx $(MOPT) $(DDEF) $(DEF)
CC = cl -nologo -c -G2sw -Zp -W3 $(MOD) $(CLOPT) $(DDEF) $(DEF)
LINK = link /NOD /NOE $(LOPT)
RC = rc $(DDEF) $(DEF)
HC = hc31
##### Inference Rules #####
.c.obj:
$(CC) $*.c
.asm.obj:
$(ASM) $*.asm;
.rc.res:
$(RC) -r $*.rc
##### Main (default) Target #####
goal: $(NAME).exe $(NAME).hlp
##### Dependents For Goal and Command Line #####
$(NAME).exe: $(SRCS:.c=.obj) $(NAME).def $(NAME).res
$(LINK) @<<
$(SRCS:.c=.obj) $(OBJS),
$(NAME).exe,
$(NAME).map,
$(LIBS),
$(NAME).def
<<
$(RC) -T $(NAME).res
!if $(DEBUG)
!if !$(C7)
cvpack -p $(NAME).exe
!endif
mapsym $(NAME).map
!endif
$(NAME).hlp: $(NAME).rtf
$(HC) $(NAME)
##### Dependents #####
$(SRCS:.c=.obj): $(INCLS)
$(NAME).res: $(RCFILES)
##### Clean Directory #####
clean:
-del helpex.obj
-del helpex.res
-del helpex.exe
-del helpex.sym
-del helpex.map
-del helpex.hlp
-del helpex.err